Other Enumerations
The following enumerations are available globally.
-
Set of LaunchEnvironment keys for predefined options implemented by AutoMate.
animation
: Key to pass withAnimationLaunchEnvironment
.contacts
: Key to pass withContactLaunchEnvironment
events
: Key to pass withEventLaunchEnvironment
.reminders
: Key to pass withReminderLaunchEnvironment
.isInUITest
: Key to pass withIsInUITestLaunchEnvironment
.
Declaration
Swift
public enum AutoMateKey : String
-
Represents launch argument value of type Bool.
See moreDeclaration
Swift
public enum BooleanLaunchArgumentValue : Int, ExpressibleByBooleanLiteral, LaunchArgumentValue, Equatable
-
Declaration
Swift
public enum BooleanLaunchEnvironmentValue : String, ExpressibleByBooleanLiteral, LaunchEnvironmentValue, Equatable
-
Enumeration describing available hardware keyboards in the system.
See moreDeclaration
Swift
public enum HardwareKeyboard : String, LaunchArgumentValue
-
Enumeration describing available software keyboards in the system.
See moreDeclaration
Swift
public enum SoftwareKeyboard : String, LaunchArgumentValue
-
Enumeration describing available country codes in the system.
See moreDeclaration
Swift
public enum SystemCountry : String
-
Enumeration describing available languages in the system.
See moreDeclaration
Swift
public enum SystemLanguage : String, LaunchArgumentValue
-
Represents available types of devices.
Enum value corresponding to device screen size.
iPhone35
: iPhone 3.5"iPhone40
: iPhone 4.0"iPhone47
: iPhone 4.7"iPhone55
: iPhone 5.5"iPhone58
: iPhone 5.8"iPad
: iPadiPadPro105
: iPad Pro 10.5"iPadPro12
: iPad Pro 12"
Declaration
Swift
public enum DeviceType
-
Each case relates to element of user interface that can overlap scrollable area.
navigationBar
: equivalent ofUINavigationBar
.keyboard
: equivalent ofUIKeyboard
.other(XCUIElement, CGRectEdge)
: equivalent of user definedXCUIElement
withCGRectEdge
on which it appears. If more than one navigation bar or any other predefinedAvoidableElement
is expected, use.other
case. Predefined cases assume there is only one element of their type.
-
Swipe direction.
up
: Swipe up.down
: Swipe down.left
: Swipe to the left.right
: Swipe to the right.
Declaration
Swift
public enum SwipeDirection
-
Represents available string comparison operations to perform with
NSPredicate
API.Enum value describing NSPredicate string comparison operator.
equals
:==
operatorbeginsWith
:BEGINSWITH
operatorcontains
:CONTAINS
operatorendsWith
:ENDSWITH
operatorlike
:LIKE
operatormatches
:MATCHES
operatorother
: Custom operator
Declaration
Swift
public enum StringComparisonOperator : RawRepresentable